<%@ page language="java" import="java.util.*" pageEncoding="UTF8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF8" />

  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  <body>
  <form name="form1" action="/gdx1/servlet/MyServlet" method="post">
  <p>书号：<input type="text" name="bookid">书名：<input type="text" name="bookname"></p>
  <p>出版社：<input type="text" name="publisher">出版时间：<input type="text" name="pubdate"></p>
  <p>作者：<input type="text" name="author">作者E-mail：<input type="text" name="email"></p>
  <p>价格：<input type="text" name="price"></p>
  <p><input type="submit" name="submit" value="提交"></p> 
  </form>
  </body>
  
  <body>
    This is my JSP page. <br>
  </body>
</html>
